Go to the first, previous, next, last section, table of contents.


Structures

AHIUnitPrefs And AHIGlobalPrefs

These structures are used in the AHIU and AHIG chunks, respective, which are part of the settings file (`ENV:Sys/ahi.prefs'), The file is read by AHI on each call to OpenDevice(), just before the audio hardware is allocated.

AHIUnitPrefs specifies the audio mode and its parameters to use for each device unit (currently 0-3 and AHI_NO_UNIT; unit 0 is also called AHI_DEFAULT_UNIT).

AHIGlobalPrefs contains some global options that can be used to gain speed on slow CPUs, the global debug level and a protection against CPU overload. The debug level specifies which of the functions in AHI should print debugging information to the serial port (the output can be redirected to a console window or a file with tools like Sushi (1)).


Go to the first, previous, next, last section, table of contents.